package com.mtl.discuss.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评论实体类
 *
 * @author qms
 * @since 2019-08-05
 */
@Data
@Table(name="mtl_discuss")
@ApiModel(value = "Discuss对象", description = "评论")
public class SqlDiscuss implements  Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 评论编号
         */
        @ApiModelProperty(value = "评论编号")
        @Id

        private Integer disId;
        /**
         * 评论内容
         */
        @ApiModelProperty(value = "评论内容")

        private String discuss;
        /**
         * 用户id
         */
        @ApiModelProperty(value = "用户id")

        private Integer userId;
        /**
         * 用户名
         */
        @ApiModelProperty(value = "用户名")

        private String userName;
        /**
         * 文章id
         */
        @ApiModelProperty(value = "文章id")

        private Integer artId;
        /**
         * 文章标题
         */
       /* @ApiModelProperty(value = "文章标题")

        private String title;*/
        /**
         * 日期
         */
        @ApiModelProperty(value = "日期")

        private LocalDateTime data;



    }


